package com.dream.root.user.config.mail;

import javax.mail.MessagingException;

/**
 * MailService Created with IntelliJ IDEA.
 * User: liulinhui
 * Date: 29/07/2018
 * Time: 18:39
 * Description: 发送邮件接口
 */
public interface MailService {

    void sendSimpleMail(String desAddr, String subject, String content);

    void sendHtmlMail(String to, String subject, String content) throws MessagingException;

    void sendAttachmentsMail(String to, String subject, String content, String filePat) throws MessagingException;

    void sendInlineResourceMail(String to, String subject, String content, String rscPath, String rscId) throws MessagingException;
}
